package udpserver

import (
	"github.com/astaxie/beego/logs"
)



var ConsoleLogs *logs.BeeLogger
var FileLogs *logs.BeeLogger

func Initlogs(){
	//fmt.Println("初始化日志系统")
	ConsoleLogs = logs.NewLogger(1000)
	ConsoleLogs.SetLogger("console")
	FileLogs = logs.NewLogger(1000)
	FileLogs.SetLogger("file", `{"filename":"udplogs/ginudpserver.log", "maxlines" : 100000,"maxsize"  : 1024000}`)
}

